inline getprogname replacement
authorMichael Tokarev <mjt@tls.msk.ru>
Tue, 20 Jan 2026 19:27:54 +0000 (22:27 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 27 Feb 2026 10:11:48 +0000 (13:11 +0300)
commit566bb7c7204e404bb63b8f051e07805368e7a71d
tree88b4d1b335c14b06ffb7bfc15db3bad60ec91d43
parentdbe2c37742d0486de27e94a036906fe26540c0de
inline getprogname replacement

Forwarded: not-needed

Inline getprogname() by using program_invocation_short_name
when available (like with glibc).

This makes a lot of binaries to avoid linkage to libreplace.

This is a short and dirty version, proper change for upstream
should clean up #ifdef'fery in replace.c.

Gbp-Pq: Name inline-getprogname.diff
lib/replace/replace.c
lib/replace/replace.h